From c8a60bfe402f411e2d7d4fcf6125f42c71b99c64 Mon Sep 17 00:00:00 2001 From: robertl Date: Sat, 2 Sep 2006 20:59:39 +0000 Subject: [PATCH] Ensure that icon value doesn't float if not present. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2342 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/gpsutil.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gpsbabel/gpsutil.c b/gpsbabel/gpsutil.c index 8e5e6c2bc..ee28e6cf4 100644 --- a/gpsbabel/gpsutil.c +++ b/gpsbabel/gpsutil.c @@ -64,6 +64,7 @@ data_read(void) char alttype; char icon[3]; waypoint *wpt_tmp; + icon[0] = 0; /* * Make sure that all waypoints in single read have same -- 2.30.2